package demo2;

public class Derievd extends Base {
    public int c=3;
    public int a=100;
    public void func(){
        System.out.println(super.a); //通过super访问父类的a
        System.out.println(this.b);
        System.out.println(this.c);
    }
}
